function qOn()
{
if (_oPop && _oPop.isOpen) return;
if (_oLastGlow) off();

_oLastGlow = event.srcElement;

while (_oLastGlow.tagName != "TR")
{
_oLastGlow = _oLastGlow.parentElement;
}

_oLastGlow.runtimeStyle.backgroundColor = "#c4ddff";
}


function qOff()
{
if (_oPop && _oPop.isOpen) return;
if (_oLastGlow)
{
_oLastGlow.runtimeStyle.backgroundColor = "";
_oLastGlow = null;
}
}


function qHandleClick()
{
var o = event.srcElement;
var oTR = o;
var sUrl = prependOrgName("/_grid/cmds/dlg_addquota.aspx?iObjType=" + SystemUser + "&iTotal=1");
var iX = 600;
var iY = 425;
var idparam = new Array(0);
idparam[0] = _oId;


while (oTR.tagName != "TR")
{
oTR = oTR.parentElement;
if (oTR == null) return;
}

sUrl += "&id=" + oTR.oid;

if (openStdDlg(sUrl, idparam, iX, iY))
{

document.location.reload();
}
}
